#__next__()
t = (item for item in range(4))
print(t.__next__())
print(t.__next__())
print(t.__next__())
print(t.__next__())

#转元组
t2 = tuple(t)
print(t2)  #元组元素已被取完，所以为空